package com.youdoneed.community.shortVideo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.youdoneed.community.shortVideo.entity.Musictype;
@Mapper
public interface MusictypeMapper {
    int deleteByPrimaryKey(String typeId);

    int insert(Musictype record);

    int insertSelective(Musictype record);

    Musictype selectByPrimaryKey(String typeId);

    int updateByPrimaryKeySelective(Musictype record);

    int updateByPrimaryKey(Musictype record);
    
    List<Musictype> findMusictypeList();
    
    int countMusicType();
    
    int countMusicTypeForPublic();
    
    List<Musictype> findPublicMusictypeList();
}